<title>About this tool:</title>
<bold>Frequency Generator</bold>
This tool plays various audio test tones (sine, rectangular, triangular, saw tooth) from 1Hz to 21kHz. The frequency slider is used to set the required output frequency.

The Fine-Tune presets segment allow manual fine-tuning within given granularity (steps of 100, 10, 1 and 0.1 in both directions). The Presets segment allows immediate playback of certain predefined frequencies (125Hz, 250Hz, 500Hz, 1kHz, 2kHz, 4kHz, 8kHz, 10kHz).


<bold>Sweep Playback</bold>
This tool plays various sweeps (sine, rectangular, triangular, saw tooth) from a defined start frequency to a stop frequency within user configurable time duration.

Navigate with the frequency slider to a certain frequency position (e.g. 400Hz). Then tap the "Set Start" Button. The start frequency for the sweep is now set. Do the same for the stop frequency ("Set Stop" Button) and then hit the play button.


<bold>Noise Playback</bold>
Noise test tones are often very important during measurements and verifications. This tool features the main six colors of noise. 
White Noise (flat frequency spectrum), Pink Noise (the power density decreases by 10dB/Decade in comparison to White Noise), Brown Noise (power density decreases 6 dB per Octave), Blue Noise (power density increases 3 dB per Octave). Violet Noise (power density increases 6 dB per Octave), Grey Noise (random white noise).


<bold>Settings</bold>
The settings view gives you full control over the Frequency Generator and the Sweep playback. Set Min/Max slider frequencies, set the sweep time slider, configure the signals amplitude and set the output channel(s) accordingly (Left+Right, Left only, Right only).


<bold>Notes on the output signals:</bold>
Please note that the audio output of iOS devices is designed for analog audio signals. Naturally, this comes with an output filter typical for such devices.

You will be able to output a sine wave from 20Hz to 20kHz with the Function Generator without any problem. But signals like rectangular, triangular and sawtooth have higher frequency components and thus trying to play e.g. a rectangular signal at 5kHz will introduce aliasing effects.

This is because a waveform like a 5kHz rectangular signal consists of several sine waves with different frequency and different amplitude. First sine is with full amplitude at 5kHz. Next is at 1/3 of the amplitude at 3 times the base frequency, so 15kHz. Then comes the addition of a sine at 1/5 of the amplitude at 5 times the base frequency, so 25kHz. And so on. But with the last addition, we already run into a limitation of the analog audio output of iOS devices. The output filter will, of course completely intentionally and with good reason, filter out all frequency components higher than about 20 kHz.

Please consider this when playing waveforms other than sine waves. I have introduced a Low-Pass Filter setting (enabled per default) specifically to deal with that issue. This filter blocks any created sub-frequencies which are higher than 20kHz and thus no aliasing is introduced.
